package com.springboot.dao;

import com.springboot.entity.History;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
@Repository
public interface HistoryMapper extends Mapper<History> {
    @Update("update history set status where hid=#{hid}")
    int updateHistoryZero(History history);
    @Update("update history set status where hid=#{hid}")
    int updateHistoryOne(History history);
}
